package com.ctshk.rpc.payment.service;

import com.ctshk.common.dto.payment.CallPayDTO;
import com.ctshk.rpc.payment.dto.PayDetailsDTO;
import com.ctshk.rpc.payment.req.PayCommonReq;

/**
 * <p>
 * 支付记录 服务类
 * </p>
 *
 * @author hef
 * @since 2021-04-21
 */
public interface IPayRecordService {
    /**
     * 保存支付记录
     *
     * @param req
     * @param callPayDTO
     * @param businessTypeCode
     * @return
     */
    Integer savePayRecord(PayCommonReq req, CallPayDTO callPayDTO, int businessTypeCode);

    /**
     * 查询交易信息
     *
     * @param orderNumber
     * @return
     */
    PayDetailsDTO queryTransactionInfo(String orderNumber);
}
